package com.wuren.faceSwiping.solution.controller;

import com.wuren.faceSwiping.helper.vo.ResponseBean;
import com.wuren.faceSwiping.solution.service.OneIntroduceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/solution/oneintroduce")
@RestController
@CrossOrigin("*")
public class OneIntroduceController {
    @Autowired
    private OneIntroduceService oneIntroduceService;
    /**
     * 查所有信息
     * @return
     */
    @RequestMapping("/findAll")
    public ResponseBean findAll(){
        return new ResponseBean(200,0,oneIntroduceService.findAll());
    }
}
